<!DOCTYPE html>
<html>
<body>
    <div>
        {{ value.name | myReplace }}
    </div>
    <div>
        {{ value.name | myReplace('This', 'That') }}
    </div>
</body>
</html>